
package com.jysz.certificate.persistence.model.system;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.jysz.webcore.ssh.entity.AbstractBaseEntity;

/**
 *  数据库版本(sys_schema_info_).
 * <p>提供了系统的数据库当前版本信息,用于升级数据库结构使用
 * @author <a href="mailto:javaengine@outlook.com">Kaca Rich</a>
 *
 */
@Entity
@Table(name = "sys_schema_info_")
@org.hibernate.annotations.Entity
public class SchemaInfo extends AbstractBaseEntity<Long>{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	/**
	 * 数据库版本号,DB_VERSION
	 */
	private int dbversion;
	
	private Integer menudbversion;

	@Column(name = "_dbversion",columnDefinition="int(11)")
    public int getDbversion() {
		return dbversion;
	}
	public void setDbversion(int dbversion) {
		this.dbversion = dbversion;
	}
	
	@Column(name = "menudbversion",columnDefinition="int(11)")
	public Integer getMenudbversion() {
		return menudbversion;
	}
	public void setMenudbversion(Integer menudbversion) {
		this.menudbversion = menudbversion;
	}


	/* bean properties begin */
    public static final String DBVERSION_PRO_NAME="dbversion";
    public static final String DBMENUVERSION_PRO_NAME="menudbversion";
    /* bean properties end */
}
